﻿using System.ComponentModel.DataAnnotations;

namespace MVC系统mvc.Dto.Warehouse
{
    public class WarehouseAddDTO
    {
        /// <summary>
        /// 仓库Id
        /// </summary>
        public int WarehouseId { get; set; }
        /// <summary>
        /// 仓库编号
        /// </summary>
        public string? WarehouseNo { get; set; }
        /// <summary>
        /// 仓库名称
        /// </summary>
        public string? WarehouseName { get; set; }
        /// <summary>
        /// 仓库区域
        /// </summary>
        public string? ReservoirArea { get; set; }
        /// <summary>
        /// 位置编码
        /// </summary>
        public string? LocationCoding { get; set; }
        /// <summary>
        /// 面积
        /// </summary>
        public int? WarehouseArea { get; set; }
        /// <summary>
        /// 负责人
        /// </summary>
        public string? WarehouseHead { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public bool? WarehouseState { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? WarehouseRemark { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public string? CreatedBy { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreatedDate { get; set; } = DateTime.Now;

        /// <summary>
        /// 修改人
        /// </summary>
        public string? UpdatedBy { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? UpdatedDate { get; set; }

        /// <summary>
        /// 删除人
        /// </summary>
        public string? DeletedBy { get; set; }

        /// <summary>
        /// 删除时间
        /// </summary>
        public DateTime? DeletedDate { get; set; }

        /// <summary>
        /// 逻辑状态
        /// </summary>
        public bool IsDeleted { get; set; } = false;
    }
}
